package fr.vincent.aquarium.metier.aquarium;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import fr.vincent.aquarium.metier.article.Article;

@Entity
@Table(name = "Aquarium")
public class Aquarium extends Article implements Serializable {

	private static final long serialVersionUID = -409733265964246464L;

	private double surface;
	private double prix;

	@Column(name = "surface", nullable = false)
	public double getSurface() {
		return surface;
	}

	public void setSurface(double surface) {
		this.surface = surface;
	}
	
	@Column(name = "prix", nullable = false)
	public double getPrix() {
		return prix;
	}

	public void setPrix(double prix) {
		this.prix = prix;
	}

}
